home *** CD-ROM | disk | FTP | other *** search
- echo off
- if not "%1"=="" goto ok
- echo ╔════════════════════════════════════════════════════════════════╗
- echo ║ Sorted Directory Utility Batch File for Multiple Drives (SDB) ║
- echo ║ Copyright (C) 1989 By John F. Stetson - All Rights Reserved ║
- echo ║ ║
- echo ║ This batch file (SDB.BAT) allows you to execute the SD program ║
- echo ║ for multiple disk drives automatically. You must first edit ║
- echo ║ the file to select the drive letters you wish to be processed. ║
- echo ║ You may then run SDB just as you would SD, but for multiple ║
- echo ║ disk drives. However, there are certain restrictions. You ║
- echo ║ must not specify a specific drive letter on the command line. ║
- echo ║ Please refer to the SD.DOC file for additional information. ║
- echo ║ Press the ESCAPE key to terminate the batch file at any time. ║
- echo ╚════════════════════════════════════════════════════════════════╝
- goto end
- :ok
- sd c:%1%2%3%4%5%6%7%8%9/$
- if errorlevel 2 goto end
- sd d:%1%2%3%4%5%6%7%8%9/$
- if errorlevel 2 goto end
- sd e:%1%2%3%4%5%6%7%8%9
- rem omit the /$ for the last drive
- :end